﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="SanPham.aspx.cs" Inherits="WebApplication1.SanPham" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
<style>
    .resizeSP
    {
        width:220px;
        height:310px;
    }
</style>
    <asp:DataList ID="dlSanphamOfLoai" runat="server" AlternatingItemStyle-HorizontalAlign="NotSet" DataKeyField="TenSP" 
        RepeatColumns="2" RepeatDirection="Horizontal" CellSpacing="24">
        <ItemTemplate>
            <table>
                <tr>
                    <td>
                        <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("HinhAnh") %>' CssClass="resizeSP"/>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:center;" bgcolor="white" height="24px">
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("TenSP") %>' Font-Bold="True" Font-Size="15px" ForeColor="#808080" />
                    </td>
                </tr>
                <tr>
                    <td style="text-align:center;" bgcolor="gray" height="24px">
                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("DonGia") %>' Font-Bold="True" Font-Size="15px" ForeColor="White" />
                    </td>
                </tr>
            </table>
            
        </ItemTemplate>
    </asp:DataList>

 
</asp:Content>

<asp:Content runat="server" ID="Giohang" ContentPlaceHolderID="GiohangContent">
    <img src="image/top/gio.png" /><br /> 0 item (s)
</asp:Content>
